<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加用户</title>
</head>
<body>
    <h2>添加新用户</h2>
    <c:if test="${not empty errorMessage}">
        <p style="color: red;">${errorMessage}</p>
    </c:if>
    <form action="addUser" method="post">
        用户名: <input type="text" name="id"><br>
        姓名: <input type="text" name="name"><br>
        密码: <input type="password" name="password"><br>
        邮箱: <input type="text" name="email"><br>
        性别: <input type="text" name="gender"><br>
        生日: <input type="date" name="birthday"><br>
        擅长语言: <input type="text" name="lans"><br>
        <input type="submit" value="添加">
    </form>
    <a href="userList">返回用户列表</a>
</body>
</html>